<script setup lang="ts">
    defineProps<{code: string, language: string}>()
</script>

<template>
    <highlightjs class="code-block" :code="code" language="javascript" :autodetect="false"></highlightjs>
</template>

<style>
.code-block {
    font-family:Arial, Helvetica, sans-serif;
    background-color: rgb(43, 10, 10);
    color: aliceblue;

    code {
        font-weight: bold;
    }
}
</style>